package org.zpmis.domain.role.qo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class EditSysPermissionQo{

    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * api url
     */
    @NotEmpty(message = "权限地址不能为空")
    private String apiUrl;

    /**
     * 权限code
     */
    @NotEmpty(message = "权限Code不能为空")
    private String permissionCode;

    /**
     * 权限名
     */
    @NotEmpty(message = "权限名不能为空")
    private String permissionName;

    /**
     * 权限分组
     */
    @NotEmpty(message = "权限分组不能为空")
    private String permissionGroup;

}